Skip to main content
Version: 1.0.4

Get Process And Fee

The GetProcessAndFee API retrieves the transaction fee details based on the ledger-configured fee for the transaction type.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json
CredentialBasic c3VwcG9ydCsxQG5ldHN5cy1pbmMuY29tOjM5ZDYxOGJkNTVmN5NWQxY2RlNDE5
Signature{{signature}}

Example

Request Parameters
ParameterDescription

transactionAmount

Mandatory

Object

amount

Mandatory

String

Value of the transaction

Example: "1002"

currency

Mandatory

String

Currency type used for the transaction

Example: "USD"

creditorAccount

Mandatory

Object

identification

Mandatory

String

Account number of the creditor's account

Example: "200522479517839"

identificationType

Mandatory

String

Type of account identification

Example: "ACCOUNT_NUMBER"

identificationType2

Mandatory

String

Type of account

Example: "CHECKING"

institution

Mandatory

Object

name

Mandatory

String

Name of the creditor bank

Example: "CBW Bank"

identification

Mandatory

String

Bank's identification number

Example: "101201164"

identificationType

Mandatory

String

Identification type of bank

Example: "ABA"

debtorAccount

Mandatory

Object

identification

Mandatory

String

Account number for the debtor's account

Example: "200401278247450"

identificationType

Mandatory

String

Type of account identification

Example: "ACCOUNT_NUMBER"

institution

Mandatory

Object

name

Mandatory

String

Name of debtor bank

Example: "ABC BANK"

identification

Mandatory

String

Bank's identification number

Example: "124303298"

identificationType

Mandatory

String

Type of bank identification

Example: "ABA"


curl --location --globoff --request GET '{{URL}}/jsonrpc' \
--header 'Content-Type: application/json' \
--data '{"method":"TransactionService.GetProcessAndFee","id":"1","params":{"payload":{"transactionAmount":{"amount":"1002","currency":"USD"},"creditorAccount":{"identification":"200522479517839","identificationType":"ACCOUNT_NUMBER","identificationType2":"CHECKING","institution":{"name":"CBW Bank","identification":"101201164","identificationType":"ABA"}},"debtorAccount":{"identification":"200401278247450","identificationType":"ACCOUNT_NUMBER","institution":{"name":"ABC BANK","identification":"124303298","identificationType":"ABA"}}},"api":{"credential":"Basic amVnYW4uckBuZXR4ZC5jb206ZmE3NTg4NzYyMDUxNDRhM2FmZTRlMDJiNzIzOTM2M2E=","signature":"{{signature}}","apiKey":"fa758876205144a3afe4e02b7239363a","keyId":"41199"}}}'

Request Body


{
"method": "TransactionService.GetProcessAndFee",
"id": "1",
"params": {
"payload": {
"transactionAmount": {
"amount": "1002",
"currency": "USD"
},
"creditorAccount": {
"identification": "200522479517839",
"identificationType": "ACCOUNT_NUMBER",
"identificationType2": "CHECKING",
"institution": {
"name": "CBW Bank",
"identification": "101201164",
"identificationType": "ABA"
}
},
"debtorAccount": {
"identification": "200401278247450",
"identificationType": "ACCOUNT_NUMBER",
"institution": {
"name": "ABC BANK",
"identification": "124303298",
"identificationType": "ABA"
}
}
},
"api": {
"credential": "Basic amVnYW4uckBuZXR4ZC5jb206ZmE3NTg4NzYyMDUxNDRhM2FmZTRlMDJiNzIzOTM2M2E=",
"signature": "{{signature}}",
"apiKey": "fa758876205144a3afe4e02b7239363a",
"keyId": "41199"
}
}
}

Response: 200

Response Parameters
ParameterDescription

id

String

Unique response id

Example: " 1"

result

Object

fee

Object

amount

Number

Fee amount, in cents

Example: 100

currency

String

Currency type of fee

Example: " USD"

tax

Number

Tax amount applicable for the fee, in cents

Example: 0

supportedChannel

String

Channel through which transaction is processed

Example: " TCH"

Possible values: "TCH", "FEDNOW", "ACH", "WIRE"

jsonrpc

String

RPC Version

Example: " 2.0"

Response Body


{
"id": "1",
"result": {
"fee": {
"amount": 100,
"currency": "USD",
"tax": 0
},
"supportedChannel": "TCH"
},
"jsonrpc": "2.0"
}